import React from "react";
import s from './index.scss'
import {Flex} from 'antd-mobile'
import {hashHistory} from 'React-Router'
import weiche01  from 'assets/images/weiche/weiche01.png'
import weiche03  from 'assets/images/weiche/weiche03.png'
import weiche04  from 'assets/images/weiche/weiche04.png'
import btnGetMoney  from 'assets/images/weiche/btnGetMoney.png'

export default class extends  React.PureComponent{

    constructor(props){
        super(props)
        this.state={

        }
    }
   
   
    render(){
        return(<div className={`${s.noviceBox}`}>
                <Flex direction="column">
                    <Flex.Item><img src={weiche01} style={{width:"100%"}}/></Flex.Item>
                    <Flex.Item style={{background:'red',padding:"0 20%"}}><img onClick={()=>{
                        hashHistory.push('/register')
                    }} src={btnGetMoney} style={{width:"100%"}}/></Flex.Item>
                    <Flex.Item><img src={weiche03} style={{width:"100%"}}/></Flex.Item>
                    <Flex.Item><img src={weiche04} style={{width:"100%"}}/></Flex.Item>
                </Flex>
        </div>)

        }
    }
 
